package com.wjk.kylin.modules.system.log.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wjk.kylin.modules.system.log.entity.OperateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 日志表 Mapper 接口
 * </p>
 *
 * @author wangjkui
 * @since 2020-06-05
 */
@Mapper
public interface LogMapper extends BaseMapper<OperateLog> {

    IPage<OperateLog> findPage(Page<OperateLog> page,@Param("operateLog") OperateLog operateLog);

    void clean();
}
